﻿using DoNet.Core;
using DoNet.System.Models;

namespace DoNet.System.IRepositories
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITaskJobsLogRepository : IRepository<TaskJobsLog>
    {
        #region 同步方法
        /// <summary>
        /// 清空日志
        /// </summary>
        /// <returns></returns>
        bool ClearLog();

        #region 修改
        #endregion 修改

        #region 查询
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        IEnumerable<TaskJobsLog> GetListByIds(IEnumerable<long> ids);
        #endregion 查询

        #endregion 同步方法

        #region 异步方法

        #region 修改
        #endregion 修改

        #region 查询
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<IEnumerable<TaskJobsLog>> GetListByIdsAsync(IEnumerable<long> ids);
        #endregion 查询

        #endregion 异步方法
    }
}
